import request  from '@/utils/request.js'
export  const getSupportCodeRequest = () =>request.get(`http://www.cirno.asia:8085/code/supports`,{
   headers:{
      'baka':'1'
   }
})
export const codeSubmitRequest = (code,language)=>{
   return request.post(`http://www.cirno.asia:8085/code/execute`,{ code,language},{
      headers:{
         'baka':'1'
      }
   })
}
export const codeCompileRequest = (code,language)=>{
   return request.post(`http://www.cirno.asia:8085/code/compile`,{ code,language},{
      headers:{
         'baka':'1'
      }
   })
}
